server:server.cpp task.cpp
	g++ -std=c++11 $^ -o $@ -lpthread -D__TEST_DEBUG__

server_d:server.cpp task.cpp
	g++ -std=c++11 $^ -o $@ -lpthread -D__RELEASE__

client:client.cpp
	g++ -std=c++11 $^ -o $@

.PHONY:clean
clean:
	rm -rf server